package com.huawei.appmarket.service.store.awk.card;

import android.content.Context;
import android.view.View;
import android.widget.LinearLayout.LayoutParams;
import com.huawei.appgallery.foundation.card.base.normal.bean.NormalCardBean;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import java.util.List;
import o.cgz;
import o.ewm.d;

public class SubstanceHorizonCard extends HorizonHomeCard {
    public SubstanceHorizonCard(Context context) {
        super(context);
    }

    public void ˏ(CardBean cardBean) {
        super.ˏ(cardBean);
        if (this.ʼ != null) {
            this.ʼ.setVisibility(8);
        }
    }

    public cgz ˏ(View view) {
        super.ˏ(view);
        LayoutParams layoutParams = (LayoutParams) ʼ().getLayoutParams();
        layoutParams.bottomMargin = this.ʼॱ.getResources().getDimensionPixelSize(d.ᐨ);
        layoutParams.topMargin = this.ʼॱ.getResources().getDimensionPixelSize(d.ᐨ);
        return this;
    }

    protected boolean ˏ(Context context, List<NormalCardBean> list) {
        return false;
    }
}
